<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" import = "myModule.*"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel = "stylesheet" href = "bootstrap/css/bootstrap.css" />
<link rel = "stylesheet" href = "bootstrap/css/style.css" />
<script type = "text/javascript" src = "bootstrap/js/jquery-1.11.0.min.js"></script>
<script type = "text/javascript" src = "bootstrap/js/bootstrap.js"></script>
<%@ taglib prefix="c" 
           uri="http://java.sun.com/jsp/jstl/core" %>

<title>Welcome Page</title>
</head>
<body>

<p id = "myDiv"></p>
<script>
	xmlhttp = new XMLHttpRequest();
	
	xmlhttp.onreadystatechange = function(){
		if(xmlhttp.readyState == 4 && xmlhttp.status == 200){
			document.getElementById("myDiv").innerHTML = xmlhttp.responseText;
		}
	}
	xmlhttp.open("POST","LoginForm",true);
	xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
	xmlhttp.send("adminName=${param.adminName}&adminPass=${param.adminPass}");
	
</script>
	
 
</body>
</html>